package com.azzcs.catalina.engine;

import com.azzcs.catalina.ContainerBase;
import com.azzcs.service.Service;

/**
 * @Author: wzg
 * @Date: 2021/1/9 上午9:11
 */
public class StandardEngine extends ContainerBase implements Engine{
    private Service service = null;

    public StandardEngine() {
        super();
        pipeline.setBasic(new StandardEngineValve());
    }

    @Override
    public Service getService() {
        return this.service;
    }

    @Override
    public void setService(Service service) {
        this.service = service;
    }
}
